Free indices & GEE codes for teaching and projects
RS Index • LAI
LAI – Leaf Area Index
LAI is a biophysical variable describing the total one-sided leaf area per unit
ground area (m² leaf / m² ground). It is closely related to canopy structure,
biomass, and photosynthetic capacity, and can be estimated from remote sensing
indices such as NDVI, EVI, or chlorophyll indices.
1. Scientific Definition
The Leaf Area Index (LAI) quantifies the total leaf area in a canopy
relative to the ground surface area. High LAI values indicate dense canopies with
multiple leaf layers, whereas low values correspond to sparse vegetation or bare soil.
Concept & Units
LAI is usually expressed in units of:
m² leaf / m² ground.
Values are typically between 0 (no leaves) and 6–7 (very dense forest canopies).
Example Empirical Relationship
LAI is not a single spectral index, but can be derived from indices like NDVI using
empirical models. A simple linear example (for demonstration) is:
LAI ≈ 3.6 × NDVI − 0.12Empirical – adjust for your study area
Typical Interpretation
LAI Range
Interpretation
0.0 – 0.5
Bare soil, very sparse vegetation
0.5 – 2.0
Open grassland, early crop stages, shrubs
2.0 – 4.0
Moderate to dense crops, plantations, mixed forests
> 4.0
Dense, multi-layer forests or intensive crops
Key Applications
Crop growth monitoring and yield estimation
Evaluating canopy structure and biomass
Eco-physiological modeling and carbon cycle studies
Input to hydrological and energy balance models
2. Data & Bands for LAI
Common Approaches
Index-based LAI – derive LAI from NDVI/EVI using empirical models.
Operational products – use LAI layers provided by:
MODIS LAI products
Sentinel-2-based LAI products (various providers)
Typical Bands for NDVI-based LAI
Sentinel-2 (ESA)
Red: B4 (665 nm)
NIR: B8 (842 nm)
Landsat 8/9 OLI
Red: B4
NIR: B5
Good Practice
Use surface reflectance products and robust cloud masks.
Calibrate the empirical LAI model for your region, crop type, and season.
Compare LAI estimates with field measurements when possible.
Use consistent acquisition dates when doing multi-temporal analysis.
Palette Suggestion
LAI visualization palette (0 to 6):
[ "#440154", "#3b528b", "#21908c", "#5dc963", "#fde725" ]
3. Google Earth Engine Code – LAI from NDVI (Example)
This example computes NDVI from Sentinel-2 SR and then estimates LAI using a simple
linear NDVI–LAI relationship. You can replace the model with your own calibrated
equation or use operational LAI products instead.
// LAI example from NDVI using Sentinel-2 SR
// -------------------------------------------------------
// 1) Go to: https://code.earthengine.google.com
// 2) Click "New Script" and paste this code.
// 3) On the map: draw your AOI (Polygon/Rectangle).
// It will appear as a variable named 'geometry' in the left panel.
// 4) Click "Run" to display LAI.
// 5) In the Tasks tab, click "Run" to export LAI to Google Drive.
// -------------------------------------------------------
// 1. Define Area of Interest (AOI)
// -------------------------------------------------------
var roi = geometry; // Make sure a 'geometry' object exists in the left panel
// Center the map on the AOI
Map.centerObject(roi, 11);
// -------------------------------------------------------
// 2. Define time range
// -------------------------------------------------------
var startDate = '2023-01-01';
var endDate = '2023-12-31';
// -------------------------------------------------------
// 3. Load Sentinel-2 Surface Reflectance collection
// -------------------------------------------------------
var s2 = ee.ImageCollection('COPERNICUS/S2_SR')
.filterBounds(roi)
.filterDate(startDate, endDate)
.filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 20))
.map(function(img) {
var cloudProb = img.select('MSK_CLDPRB');
var mask = cloudProb.lt(40); // keep pixels with cloud prob < 40%
return img.updateMask(mask);
});
// Create a median composite and clip to AOI
var image = s2.median().clip(roi);
// -------------------------------------------------------
// 4. Compute NDVI
// NDVI = (NIR - Red) / (NIR + Red)
// -------------------------------------------------------
var ndvi = image.normalizedDifference(['B8','B4']).rename('NDVI');
// -------------------------------------------------------
// 5. Derive LAI from NDVI (example linear model)
// LAI ≈ 3.6 * NDVI - 0.12
// Adjust coefficients for your own study area / crop type
// -------------------------------------------------------
var lai = image.expression(
'3.6 * ndvi - 0.12',
{
'ndvi': ndvi
}
).rename('LAI');
// Optionally, set negative LAI values to 0
lai = lai.updateMask(lai.gte(0));
// -------------------------------------------------------
// 6. Visualization on the map
// -------------------------------------------------------
var laiVis = {
min: 0,
max: 6,
palette: [
'#440154', // very low LAI
'#3b528b',
'#21908c',
'#5dc963',
'#fde725' // high LAI
]
};
// Add LAI layer to the map
Map.addLayer(lai, laiVis, 'LAI (from NDVI)', true);
// Optionally, also show NDVI and a true color composite
var ndviVis = {
min: -1,
max: 1,
palette: ['#440154','#3b528b','#21908c','#5dc963','#fde725']
};
Map.addLayer(ndvi, ndviVis, 'NDVI', false);
var s2_rgb = ee.ImageCollection('COPERNICUS/S2_SR')
.filterBounds(roi)
.filterDate(startDate, endDate)
.filter(ee.Filter.lt('CLOUDY_PIXEL_PERCENTAGE', 20))
.select(['B4','B3','B2']) // RGB
.median()
.clip(roi);
Map.addLayer(s2_rgb, {min:0, max:3000}, 'True Color (RGB)', false);
// -------------------------------------------------------
// 7. Export LAI as GeoTIFF to Google Drive
// -------------------------------------------------------
Export.image.toDrive({
image: lai,
description: 'LAI_Export',
fileNamePrefix: 'LAI_Export',
region: roi,
scale: 10, // Sentinel-2 resolution
crs: 'EPSG:4326',
maxPixels: 1e13
});
// End of script